package game.components;

import sheep.graphics.Image;
import sheep.math.Vector2;

/**
 *The powerUp component containing a power 
 *@see Component
 * @author Marius Haugen
 */
public class PowerUp extends Component{

	private String power;
	
	public PowerUp(Image image, Vector2 pos, float speed,String power){
		super(image);
		this.setPosition(pos);
		this.setSpeed(0,speed);
		this.power = power;
	}
	

	public String getPower() {
		return power;
	}


	public void setPower(String power) {
		this.power = power;
	}

}
